package com.csun.cmny.provider.model.domain;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "cn_omc_app_user_oldman_bind")
public class OmcAppUserOldmanBind {
    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 老人ID
     */
    @Column(name = "oldman_id")
    private Long oldmanId;

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取老人ID
     *
     * @return oldman_id - 老人ID
     */
    public Long getOldmanId() {
        return oldmanId;
    }

    /**
     * 设置老人ID
     *
     * @param oldmanId 老人ID
     */
    public void setOldmanId(Long oldmanId) {
        this.oldmanId = oldmanId;
    }
}